package com.sign.fragment;

import com.sign.signsystem.R;
import com.sign.signsystem.StartAttendentActivity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;

public class SignDetailFragment extends Fragment{

	Button mStatrAttendentBtn;
	public static SignDetailFragment newInstance() {
		SignDetailFragment fragment = new SignDetailFragment();
//		Bundle args = new Bundle();
//		args.putInt(ARG_SECTION_NUMBER, sectionNumber);
//		fragment.setArguments(args);
		return fragment;
	}

	public SignDetailFragment() {
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View rootView = inflater.inflate(R.layout.sign_detail_fragment, container,
				false);
		mStatrAttendentBtn = (Button) rootView
				.findViewById(R.id.start_attendent);
		mStatrAttendentBtn.setOnClickListener(new OnClickListener(){

			@Override
			public void onClick(View v) {
				Intent intent = new Intent(v.getContext(),StartAttendentActivity.class);
				startActivity(intent);
			}
			
		});
		return rootView;
	}
	
	
}
